var express = require('express')
const ClassController = require('../controller/ClassController')
var ClassRouter = express.Router()
ClassRouter.get("/admin/classes",ClassController.getList)
ClassRouter.post("/admin/classes",ClassController.addList)
ClassRouter.delete("/admin/classes/:id",ClassController.deleteList)
// ClassRouter.put("/admin/classes/:id",ClassController.updateList)
module.exports = ClassRouter